#!/bin/sh

set -e

apt-get update
apt-get install -y --no-install-recommends \
        nodejs \
        npm \
; \
rm -rf /var/lib/apt/lists/*

npm install pm2 -g \
    && npm cache clean --force

exit 0